﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRest.Core
{
    /// <summary>
    /// Interface that should be implemented to model a REST response returned by the REST pipeline.
    /// </summary>
    public interface IHttpResponseMessage
    {
        /// <summary>
        /// Content body returned by the REST response.
        /// </summary>
        object Content { get; set; }
        /// <summary>
        /// Status code returned by the REST response.
        /// </summary>
        System.Net.HttpStatusCode StatusCode { get; set; }
        /// <summary>
        /// Response headers returned by the REST response.
        /// </summary>
        List<Header> ResponseHeaders { get; set; }
    }
}
